package cn.sccdlg.maven.service.impl;

import cn.sccdlg.maven.dao.ItemDao;
import cn.sccdlg.maven.domain.Item;
import cn.sccdlg.maven.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author RaoShuang
 * @emil 991207823@qq.com
 * @date 2020/10/25 21:32:28
 * 商品业务层接口实现类
 */
@Service("itemService")
public class ItemServiceImpl implements ItemService {

    @Autowired
    private ItemDao itemDao;

    public Item findById(Integer id) {

        return itemDao.findById(id);
    }
}
